package pl.elka.simulator.core.mobilityManager;

public enum MobilityManagerType {
	RandomWalkMobility("Random Walk"),
	RealisticRandomDirection("Realistic random"),
	GravityMobility("Gravity Mobility"),
	ReferencePointGroupMobility("Reference Point Group"),
	FlockMobility("Flock Mobility"),
	Explorer("Explorer");
	
	private String name;
	
	private MobilityManagerType(String n){
		this.name = n;
	}
	public String getName(){
		return name;
	}
	
	public static MobilityManagerType getByName(String name){
		for(MobilityManagerType t : values()){
			if(t.getName().equals(name)){
				return t;
			}
		}
		return null;
	}
}
